Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-windows

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-windows

Returns true if the platform is windwows.

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is is-windows?

The is-windows npm package is a simple utility that determines if the current runtime environment is Windows. It's a straightforward package with a single primary function, which is to check the operating system.

What are is-windows's main functionalities?

Check if the OS is Windows

This feature allows developers to programmatically check if their code is running on a Windows operating system. This can be useful for writing platform-specific code or for runtime environment checks.

var isWindows = require('is-windows');
console.log(isWindows()); // returns true if running on Windows, false otherwise

Other packages similar to is-windows

Keywords

FAQs

Package last updated on 05 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc